package com.usst.entity;


import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "postAnswer")
public class PostAnswer {

	@Id
	private Long postId;
	
	private Long postTypeId;
	
	private Long parentId;
	
	private Long acceptedAnswerId;
	
	private String creationDate;
	
	private Long score;
	
	private Long viewCount;
	
	private String body;
	
	private Long ownerUserId;
	
	private Long lastEditorUserId;
	
	private String lastEditorDisplayName;
	
	private String lastEditDate;
	
	private String lastActivityDate;
	
	private String title;
	
	private String tags;
	
	private String answerCount;
	
	private Long commentCount;
	
	private Long favoriteCount;
	
	private String communityOwnedDate;

	public PostAnswer() {
		
	}
	
	public PostAnswer(Long postId, Long postTypeId, Long parentId, Long acceptedAnswerId, String creationDate,
			Long score, Long viewCount, String body, Long ownerUserId, Long lastEditorUserId,
			String lastEditorDisplayName, String lastEditDate, String lastActivityDate, String title, String tags,
			String answerCount, Long commentCount, Long favoriteCount, String communityOwnedDate) {
		super();
		this.postId = postId;
		this.postTypeId = postTypeId;
		this.parentId = parentId;
		this.acceptedAnswerId = acceptedAnswerId;
		this.creationDate = creationDate;
		this.score = score;
		this.viewCount = viewCount;
		this.body = body;
		this.ownerUserId = ownerUserId;
		this.lastEditorUserId = lastEditorUserId;
		this.lastEditorDisplayName = lastEditorDisplayName;
		this.lastEditDate = lastEditDate;
		this.lastActivityDate = lastActivityDate;
		this.title = title;
		this.tags = tags;
		this.answerCount = answerCount;
		this.commentCount = commentCount;
		this.favoriteCount = favoriteCount;
		this.communityOwnedDate = communityOwnedDate;
	}

	public Long getPostId() {
		return postId;
	}

	public void setPostId(Long postId) {
		this.postId = postId;
	}

	public Long getPostTypeId() {
		return postTypeId;
	}

	public void setPostTypeId(Long postTypeId) {
		this.postTypeId = postTypeId;
	}

	public Long getAcceptedAnswerId() {
		return acceptedAnswerId;
	}

	public void setAcceptedAnswerId(Long acceptedAnswerId) {
		this.acceptedAnswerId = acceptedAnswerId;
	}


	public String getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}

	public Long getScore() {
		return score;
	}

	public void setScore(Long score) {
		this.score = score;
	}

	public Long getViewCount() {
		return viewCount;
	}

	public void setViewCount(Long viewCount) {
		this.viewCount = viewCount;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Long getOwnerUserId() {
		return ownerUserId;
	}

	public void setOwnerUserId(Long ownerUserId) {
		this.ownerUserId = ownerUserId;
	}

	public Long getLastEditorUserId() {
		return lastEditorUserId;
	}

	public void setLastEditorUserId(Long lastEditorUserId) {
		this.lastEditorUserId = lastEditorUserId;
	}

	public String getLastEditorDisplayName() {
		return lastEditorDisplayName;
	}

	public void setLastEditorDisplayName(String lastEditorDisplayName) {
		this.lastEditorDisplayName = lastEditorDisplayName;
	}

	public String getLastEditDate() {
		return lastEditDate;
	}

	public void setLastEditDate(String lastEditDate) {
		this.lastEditDate = lastEditDate;
	}

	public String getLastActivityDate() {
		return lastActivityDate;
	}

	public void setLastActivityDate(String lastActivityDate) {
		this.lastActivityDate = lastActivityDate;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTags() {
		return tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public String getAnswerCount() {
		return answerCount;
	}

	public void setAnswerCount(String answerCount) {
		this.answerCount = answerCount;
	}

	public Long getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Long commentCount) {
		this.commentCount = commentCount;
	}

	public Long getFavoriteCount() {
		return favoriteCount;
	}

	public void setFavoriteCount(Long favoriteCount) {
		this.favoriteCount = favoriteCount;
	}

	public String getCommunityOwnedDate() {
		return communityOwnedDate;
	}

	public void setCommunityOwnedDate(String communityOwnedDate) {
		this.communityOwnedDate = communityOwnedDate;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

}
